package com.example.his.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 就诊队列表
 * </p>
 *
 * @author why
 * @since 2021-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("his_outpatient_queue")
public class OutpatientQueue implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 就诊队列表ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 创建时间
     */
    @TableField("create_datetime")
    private String createDatetime;

    /**
     *  1表示正常状态，-1表示稍后处理，0过期
     */
    @TableField("outpatient_queue_status")
    private Integer outpatientQueueStatus;

    /**
     * 描述
     */
    @TableField("description")
    private String description;

    /**
     * 挂号记录ID
     */
    @TableField("register_id")
    private String registerId;

    /**
     * 医护人员ID
     */
    @TableField("user_id")
    private String userId;

    /**
     * 患者ID
     */
    @TableField("patient_id")
    private String patientId;


}
